from PySide6.QtWidgets import QLineEdit
class CameraConfigPage:
    def __init__(self, ui_section):  # 添加参数
        self.ui = ui_section
        self._init_controls()
        self.init_connections()
        
    def _init_controls(self):
        """初始化控件"""
        self.lineEdit_2 = self.ui.findChild(QLineEdit, "lineEdit_2")
        # 添加其他控件...
        
    def init_connections(self):
        """绑定信号"""
        pass